package com.example.demo.design.GoF.command.composite;

/**
 * //接收者
 *
 * @author luowj12
 * @since 2021/5/8 16:36
 */
public class CompositeReceiver {

    public void action1() {
        System.out.println("接收者的action1()方法被调用...");
    }
    public void action2() {
        System.out.println("接收者的action2()方法被调用...");
    }

}
